 
import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {path: '/', redirect: '/home'},
    {path: '/home', component: () => import('../views/Home/HomeView.vue')},
    {path: '/cart', component: () => import('../views/Cart/CartView.vue')},
    {path: '/kind', component: () => import('../views/Kind/KindView.vue')},
    {path: '/my', component: () => import('../views/My/MyView.vue')},
    {path: '/:pathMatch(.*)*', component: () => import('../views/NotFound/NotFound.vue')},
  ],
})

export default router
